package org.example.entity.bank;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.example.entity.BaseEntity;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tb_bank")
public class BankEntity extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;


    /**
     * 名称
     */
    private String name;


    /**
     * 图标
     */
    private String bankIcon;


    /**
     * 银行代码
     */
    private String bankCode;

    /**
     * 建立时间
     */
    private LocalDateTime bankBuildTime;

    /**
     * 业务范围
     */
    private String businessScope;


    /**
     * 资产规模
     */
    private String assetSize;


    /**
     * 坐标
     */
    private String location;


    /**
     * 员工人数
     */
    private String workerNum;

    /**
     * 成功率
     */
    private Integer successRate;


    /**
     * 选择率
     */
    private Integer selectRate;

    /**
     * 排序
     */
    private Integer sort;
}
